﻿using ReportingSystem.IRepository;
using ReportingSystem.IService;
using ReportingSystem.Model;
using System;

namespace ReportingSystem.Service
{
    public class UserService : IUserService
    {
        private readonly IUserRepository _repository;
        public UserService(IUserRepository repository)
        {
            _repository = repository;
        }

        public void Create(User user)
        {
            _repository.Create(user);
        }
    }
}
